package cn.hk.archives.mapper;

import cn.hk.archives.domain.ArchivesCommon;
import cn.hk.archives.domain.ArchivesCommonExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ArchivesCommonMapper {
    long countByExample(ArchivesCommonExample example);

    int deleteByExample(ArchivesCommonExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ArchivesCommon record);

    int insertSelective(ArchivesCommon record);

    List<ArchivesCommon> selectByExample(ArchivesCommonExample example);

    ArchivesCommon selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ArchivesCommon record, @Param("example") ArchivesCommonExample example);

    int updateByExample(@Param("record") ArchivesCommon record, @Param("example") ArchivesCommonExample example);

    int updateByPrimaryKeySelective(ArchivesCommon record);

    int updateByPrimaryKey(ArchivesCommon record);
}